right and left hand limit of a function